1. Launching the Package Manager Window
To develop VR experiences, you’ll need to install the VR SDK for your target OS and VR platform. The VR SDKs are installed via the Package Manager. (You can access the Package Manager Console from Visual Studio by going to Tools →
Library Package Manager -->Package Manager Console)
I. Android (Google VR Android, Oculus Android)
II. Desktop (Oculus Desktop, OpenVr (Desktop)
III. iOS (Google VR iOS)
2. Enabling VR support in project setting
- Upon installing the VR SDK we are now ready to enable VR.
a. Select “Project Settings” from the “Edit” drop down.
b. Once “Project Settings” open click “Player”.
c. At the bottom part of the “Player Window” click the XR Settings to expand the section. You will see a
box, then marked the “Virtual Reality Supported”.
- i. Note: Enabling Virtual Reality Support is the same across all currently supported platforms.
d. Once “Virtual Reality Supported” is enabled you will need to add at least one VR SDK. Click the “+” sign and select “Open VR” if it is not already added. But if once clicked and the “Open VR” is already there, no need to click the “+” sign.
e. Close the “Player Settings” window.
3. Conclusion
- Your Unity Project is now configured for VR development.